package Thread;

public class PriorityDemo {
    public static void main(String[] args) {
       Thread t1 =  new Thread(){
            @Override
            public void run() {
                for (int i = 0; i < 10000; i++) {
                    System.out.println("t1");
                }
            }
        };
        Thread t2 =  new Thread(){
            @Override
            public void run() {
                for (int i = 0; i < 10000; i++) {
                    System.out.println("t2");
                }
            }
        };
        Thread t3 =  new Thread(){
            @Override
            public void run() {
                for (int i = 0; i < 10000; i++) {
                    System.out.println("t3");
                }
            }
        };




    }
}

